import http from '@/common/interface'
export function getRecommendList(data){
	return http.request({
		url: '/index/getRecommendList',
		method: 'get',
		data
	})
}
//获取平台 机构端新闻 公告 其它list
export function getOgzNewsList(data){
	return http.request({
		url: '/orgNews/getOgzNewsPageList',
		method: 'get', 
		data
	})
}
//获取新闻详情
export function getNewsDet(data){
	return http.request({
		url: '/orgNews/getNewsDetail',
		method: 'get', 
		data
	})
}
//获取系统消息
export function getMsgList(data){
	return http.request({
		url: '/msgCenter/getMsgPage',
		method: 'get',
		data
	})
}
//标记为已读
export function setMsgReadTag(data){
	return http.request({
		url: '/msgCenter/setMsgReadTag',
		method: 'put',
		data
	})
}
//获取最新心理问答
export function getCurrNewAskList(){
	return http.request({
		url: '/ask/getCurrNewAskList',
		method: 'get'
	})
}